projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17231a2
)
Fix setting cursor in pixel-scrolling modes
author
Eli Zaretskii
<eliz@gnu.org>
Sat, 15 Jan 2022 13:58:21 +0000
(15:58 +0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Sat, 15 Jan 2022 13:58:21 +0000
(15:58 +0200)
* src/xdisp.c (redisplay_window): Don't set cursor to any glyph
row past the one that contains EOB. (Bug#53275)
src/xdisp.c
patch
|
blob
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index 977d31703fb00d2d8840a6f1ec4af45f15b728ff..c695e466e7840bfde8b068302ade6cff2203b335 100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-19157,7
+19157,8
@@
redisplay_window (Lisp_Object window, bool just_this_one_p)
struct glyph_row *row;
row = MATRIX_FIRST_TEXT_ROW (w->desired_matrix);
- while (MATRIX_ROW_BOTTOM_Y (row) < new_vpos)
+ while (MATRIX_ROW_BOTTOM_Y (row) < new_vpos
+ && !row->ends_at_zv_p)
++row;
TEMP_SET_PT_BOTH (MATRIX_ROW_START_CHARPOS (row),